/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package log210_tp2_equipe6;

import Model.Trajet;
import java.net.URL;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JOptionPane;

/**
 *
 * @author aj48640
 */
public class Test 
{
    //TEST
    public static void main(String[] args) throws Exception
    {
        //GoogleMapsData g = new Trajet("925 rue Mirelle Laval,Qc", "925 rue Lambert Laval,Qc", "600 du moulin Laval,Qc");
        //GoogleMapsData g = new Trajet("Mexico", "Vancouver", "Fredericton");
        
        //On se fait livrer du 3 brasseus à L'ETS
        /*Trajet g = new Trajet("H7A2J7", "H7T3B3", "H3C1K3");
        boolean ok = g.CalculateDirections();
        
        System.out.println(g.GetURLMap());
        System.out.println(ok);
        
        ImageIcon image = new ImageIcon(new URL(g.GetURLMap()));
        JLabel label = new JLabel(image,JLabel.CENTER);
        
       
        JOptionPane.showMessageDialog(null, label,"icon",-1);*/
       
    }
}
